<template>
	<view>
		<view class="test_txt" v-html="txt.article_content">
			
		</view>
	</view>
</template>

<script>
	import Require from '@/common/require.js';
	export default {
		data() {
			return {
				txt:''
			}
		},
		onLoad() {
			var self=this
			self.get_txt()
		},
		methods: {
			get_txt: function() {
				var self = this;
				Require.commonRequest({
					url: '/api/store/agreement',
					success: function(ret) {
						if (ret.data.code == 200)
						console.log(ret.data.data)
						self.txt=ret.data.data
					},
					fail: function() {
						uni.showToast({
							icon: "none",
							title: "网络异常，请稍后再试"
						})
					}
				})
			},
		}
	}
</script>

<style>
.test_txt{
	font-size: 32rpx;
	padding: 10rpx;
	text-align: justify;
}
</style>
